Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6 stage - Emelyanov Vitaliy, SPbSTU #215

Closed
wants to merge 29 commits into from
Closed

Conversation

GenryEden
Copy link
Contributor

No description provided.

vitaliy.emelyanov and others added 24 commits March 13, 2024 19:36
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
I checked gst today and seen there uncommited report file
I understand if you wouldn't check that, it's my mistake

Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 140471 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93393 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93407 lines exceeds the maximum allowed for the inline comments feature.

Signed-off-by: vitaliy.emelyanov <[email protected]>
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93426 lines exceeds the maximum allowed for the inline comments feature.

Signed-off-by: vitaliy.emelyanov <[email protected]>
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.

@incubos incubos requested a review from lamtev April 28, 2024 13:50
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.

Copy link
Member

@lamtev lamtev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

13 баллов

if (result == null) {
httpSession.sendResponse(new Response(Response.INTERNAL_ERROR, Response.EMPTY));
} else {
httpSession.write(new HttpChunkedHeaderQueueItem());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Можно ли было бы сделать константой этот объект с целью уменьшений количества аллокаций? И HttpChunkedEntry

Не приложены профили, к сожалению, не посмотреть, видно ли на них эти аллокации


public ByteQueueItem(byte[] bytes) {
this.bytes = Arrays.copyOf(bytes, bytes.length);
// я не хотел копировать тут, меня заставил код стайл(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

как вариант, если есть уверенность в безопасности, можно было бы попробовать вынести в функцию типа byte[] haha(byte[] b) { return b; } или добавить @SuppressWarning

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.

@incubos incubos closed this May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants